<?xml version="1.0" encoding="UTF-8"?>
<%@page contentType="text/xml" pageEncoding="UTF-8"%>
<%@page import="AccountDTO.*,java.util.*,Controller.*" %>
<Users>
    <% AccountCollection onlineList = LoginController.onlineList;

                if (onlineList != null) {
                    for (int i = 0; i < onlineList.size(); i++) {
                        Account tmp = onlineList.getAccounts().get(i);
    %>
    <user>
        <username><%= tmp.getUsername()%></username>
        <displayName><%= tmp.getDisplayName()%></displayName>
    </user>
    <%
                    }
                }
    %>
</Users>


